/**
 * Created by IntelliJ IDEA.
 * User: alexander
 * Date: 13.09.11
 * Time: 13:13
 * To change this template use File | Settings | File Templates.
 */
package com.etc {
import flash.display.Graphics;
import flash.display.MovieClip;
import flash.display.Sprite;

public class GunTowerHead_mc extends MovieClip{
	private var _head: Sprite = null;

	public function GunTowerHead_mc() {
		super();
		_head = towerHead( 14 );
		addChild(_head);
	}

	public static function towerHead( size: Number ): Sprite{
		var round: Sprite = Utils.round(size/2,0x3D2730);
		round.addChild( Utils.round( size/2 - 1, 0x815B8A ));
		var g:Graphics = round.graphics;
		g.moveTo(size/2,0);
		g.lineStyle(4,0x3D2730);
		g.lineTo(size/2 + 4,0);
		return round;
	}
}
}
